/*
 * @Author: your name
 * @Date: 2021-11-19 10:26:40
 * @LastEditTime: 2021-11-19 12:01:29
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue_cli_demo5\src\api\data.js
 */

import axios from '../api/axios'

export const getMenu=()=>{
    return axios.request({
        url:'menu',
        method:'get'  
        
    })

}

export const getHome = () => {
    return axios.request({
      url: '/home/getData',
      method: 'get'
    })
  }
